package com.zazu.mycl.application;

import java.util.logging.Level;

public abstract class AbstractTerminalCommand implements terminalCommand {

	public abstract void run(String[] args, CommandRunner commandRunner, String commandLine, String outputFileName);

	public abstract void runSubCommand(String[] args, String commandLine);
	
	public void printToFile(String contents)
	{
		//TODO Add this function 
		ApplicationController.logger.log(Level.FINE, "Outputting to file: "+outputFileName);
	}

	public void setOutputFileName(String name)
	{
		outputFileName = name;
	}
	
	public String getOutputFileName()
	{
		return outputFileName;
	}
	
	String outputFileName;

}
